//
// Created by 张兮兮 on 2025/3/13.
//

#ifndef TEMP_OPENWIDGET_H
#define TEMP_OPENWIDGET_H

#include "Python.h"
#include <QWidget>
#include <QProcess>
#include <iostream>
#include <QLocalSocket>

class OpenWidget  : public QWidget{
Q_OBJECT
public:
    OpenWidget(QWidget *parent = nullptr);
    ~OpenWidget();
    QProcess *process;
    QString socketPath;
    QLocalSocket *socket;
private slots:
    void readData();
    void handleProcessOutput();
};


#endif //TEMP_OPENWIDGET_H
